import { post } from '../http'

/**
 * @description: 获取车型列表
 * @param data
 * @return Promise
 */
export const getCarModelList = (data) => post({ url: '/carModelTenant/getList', data })

/**
 * @description: 获取系统的车型详情
 * @param data
 * @return Promise
 */
export const getSysCarModelDetail = (data) => post({ url: '/carModel/detail', data })

/**
 * @description: 详情
 * @param data
 * @return Promise
 */
export const getCarModelDetail = (data) => post({ url: '/carModelTenant/detail', data })

/**
 * @description: 新增
 * @param data
 * @return Promise
 */
export const getCarModelAdd = (data) => post({ url: '/carModelTenant/save', data })

/**
 * @description: 编辑
 * @param data
 * @return Promise
 */
export const getCarModelEdit = (data) => post({ url: '/carModelTenant/update', data })

/**
 * @description: 删除
 * @param data
 * @return Promise
 */
export const carModelDelete = (data) => post({ url: '/carModelTenant/delete', data })

/**
 * @description: 标准库查询品牌模糊查询
 * @param data
 * @return Promise
 */
export const searchCarBrand = (data) => post({ url: '/carModel/searchCarBrand', data })

/**
 * @description: 标准库查询车系模糊查询
 * @param data
 * @return Promise
 */
export const searchCarSeries = (data) => post({ url: '/carModel/searchCarSeries', data })

/**
 * @description: 标准库查询车型模糊查询
 * @param data
 * @return Promise
 */
export const searchCarModel = (data) => post({ url: '/carModel/searchCarModel', data })

/**
 * @description: 标准库查询车型详情
 * @param data
 * @return Promise
 */
export const getStandardCarModelDetail = (data) => post({ url: '/carModel/detail', data })

/**
 * @description: 企业查询品牌模糊查询
 * @param data
 * @return Promise
 */
export const getTenantBrand = (data) => post({ url: '/carModelTenant/searchCarBrand', data })

/**
 * @description: 企业查询车系模糊查询
 * @param data
 * @return Promise
 */
export const getTenantSeries = (data) => post({ url: '/carModelTenant/searchCarSeries', data })

/**
 * @description: 企业查询车型模糊查询
 * @param data
 * @return Promise
 */
export const getTenantCarModel = (data) => post({ url: '/carModelTenant/searchCarModel', data })
